home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / GRAPH_FO / (GRAPH / CGRAPHTE / GRAPH_MA.C < prev   
C/C++ Source or Header  |  1991-06-13  |  741b  |  30 lines

  1. /******************************************************************************
  2.  Graph.main.c
  3.  
  4.         Template for a main program for an application built with the THINK
  5.         Class Library
  6.  
  7.         Copyright ⌐ 1989 Symantec Corporation. All rights reserved.
  8.  
  9.         INSTRUCTIONS:
  10.             Replace all occurrences of the string 'Graph' with the name
  11.             of your application.
  12.  
  13.  ******************************************************************************/
  14.  
  15.  
  16. #include "CGraphApp.h"                /* XXX Application subclass header    */
  17.  
  18. extern CApplication        *gApplication;
  19.  
  20. void    main(void)
  21. {
  22. /*    InitMethodCache();    */            /* if using method caching */
  23.  
  24.     gApplication = new(CGraphApp);
  25.     ((CGraphApp*)gApplication)->IGraphApp();
  26.     gApplication->Run();
  27.     gApplication->Exit();
  28. }
  29.  
  30. /* EOF */